home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Optimisation & Diagnostics / UpdateStar 2.5 / UpdateStar_ENU.msi / UpdateXsl < prev    next >
Extensible Markup Language  |  2008-04-16  |  30KB  |  898 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3.  
  4. <xsl:template match="updatesend/stylepath"></xsl:template>
  5. <xsl:template match="updatesend/language"></xsl:template>
  6. <xsl:template match="updatesend/largefont"></xsl:template>
  7. <xsl:template match="updatesend/partnerid"></xsl:template>
  8.  
  9.  
  10. <xsl:variable name="language"><xsl:value-of select="updatesend/language"/></xsl:variable>
  11. <xsl:variable name="largefont"><xsl:value-of select="updatesend/largefont"/></xsl:variable>
  12. <xsl:variable name="partnerid"><xsl:value-of select="updatesend/partnerid"/></xsl:variable>
  13. <xsl:variable name="stylepathorig"><xsl:value-of select="updatesend/stylepath"/></xsl:variable>
  14. <xsl:variable name="stylepath"><xsl:copy-of select="$stylepathorig"/>\img\</xsl:variable>
  15.  
  16.  
  17.  
  18. <xsl:variable name="iprodkey"><xsl:value-of select="updatesend/software/installed/prodkey"/></xsl:variable>
  19. <xsl:variable name="iid"><xsl:value-of select="updatesend/software/installed/id"/></xsl:variable>
  20. <xsl:variable name="iname"><xsl:value-of select="updatesend/software/installed/name"/></xsl:variable>
  21. <xsl:variable name="iversion"><xsl:value-of select="updatesend/software/installed/version"/></xsl:variable>
  22. <xsl:variable name="ipublisher"><xsl:value-of select="updatesend/software/installed/publisher"/></xsl:variable>
  23. <xsl:variable name="ilincense"><xsl:value-of select="updatesend/software/installed/license"/></xsl:variable>
  24. <xsl:variable name="irequirements"><xsl:value-of select="updatesend/software/installed/requirements"/></xsl:variable>
  25. <xsl:variable name="icontact"><xsl:value-of select="updatesend/software/installed/contact"/></xsl:variable>
  26. <xsl:variable name="ihelplink"><xsl:value-of select="updatesend/software/installed/helplink"/></xsl:variable>
  27. <xsl:variable name="itelephone"><xsl:value-of select="updatesend/software/installed/telephone"/></xsl:variable>
  28. <xsl:variable name="ireadme1"><xsl:value-of select="updatesend/software/installed/readme/display"/></xsl:variable>
  29. <xsl:variable name="ireadme2"><xsl:value-of select="updatesend/software/installed/readme/cmd"/></xsl:variable>
  30. <xsl:variable name="iupdates"><xsl:value-of select="updatesend/software/installed/updates"/></xsl:variable>
  31. <xsl:variable name="icomment"><xsl:value-of select="updatesend/software/installed/comment"/></xsl:variable>
  32. <xsl:variable name="idate"><xsl:value-of select="updatesend/software/installed/date"/></xsl:variable>
  33. <xsl:variable name="isize"><xsl:value-of select="updatesend/software/installed/size"/></xsl:variable>
  34.  
  35.  
  36. <xsl:variable name="idesciption"><xsl:value-of select="updatesend/software/installed/description"/></xsl:variable>
  37. <xsl:variable name="ishortdescr"><xsl:value-of select="updatesend/software/installed/shortdescr"/></xsl:variable>
  38. <xsl:variable name="icategory"><xsl:value-of select="updatesend/software/installed/category"/></xsl:variable>
  39. <xsl:variable name="ibuybuttons"><xsl:value-of select="updatesend/software/installed/BuyButtons"/></xsl:variable>
  40. <xsl:variable name="idownloadbuttons"><xsl:value-of select="updatesend/software/installed/DownloadButtons"/></xsl:variable>
  41.  
  42.  
  43.  
  44. <xsl:template match="updatesend/software/update/version"></xsl:template>
  45. <xsl:template match="updatesend/software/update/size"></xsl:template>
  46. <xsl:variable name="uversion"><xsl:value-of select="updatesend/software/update/version"/></xsl:variable>
  47. <xsl:variable name="usize"><xsl:value-of select="updatesend/software/update/size"/></xsl:variable>
  48.  
  49.  
  50.  
  51. <xsl:template match="updatesend/software">
  52. <html><head>
  53.  
  54. <xsl:element name="link">
  55.     <xsl:attribute name="href"><xsl:copy-of select="$stylepathorig"/>\style.css</xsl:attribute>
  56.     <xsl:attribute name="rel">stylesheet</xsl:attribute>
  57.     <xsl:attribute name="type">text/css</xsl:attribute>
  58. </xsl:element>
  59.  
  60. <xsl:if test="$largefont='yes'">
  61.     <style type="text/css">
  62.         td     {
  63.             font-size: 16px;
  64.         }
  65.         
  66.         td.desc{
  67.             font-size:13px;
  68.         }
  69.         td.normal{
  70.             font-size:13px;
  71.         }
  72.         a.sublink{
  73.             font-size:11px;
  74.             font-weight:bold;
  75.         }
  76.     </style>
  77. </xsl:if>
  78.  
  79. <!--
  80. <xsl:element name="SCRIPT">
  81.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  82.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\<xsl:copy-of select="$language"/>.js</xsl:attribute>
  83. </xsl:element>
  84.  
  85.  
  86. <xsl:element name="SCRIPT">
  87.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  88.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\slang.js</xsl:attribute>
  89. </xsl:element>
  90. -->
  91.  
  92.  
  93.  
  94. <xsl:element name="SCRIPT">
  95.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  96. function translate(){
  97.     for (newalt in sfields) {
  98.         
  99.         sfields[newalt] = window.external.GetString(sfields[newalt]);
  100.         
  101.         
  102.         if(document.getElementById(newalt) ){
  103.             if(document.getElementById(newalt).alt){//image
  104.                 document.getElementById(newalt).alt=sfields[newalt];
  105.             }else if(document.getElementById(newalt).value == ""){//input
  106.                 document.getElementById(newalt).value=sfields[newalt];
  107.             }else{
  108.                 document.getElementById(newalt).innerHTML=sfields[newalt];//default div element
  109.             }
  110.         }
  111.  
  112.             if(document.getElementById(newalt + "_" + 0)){
  113.                 document.getElementById(newalt + "_" + 0).innerHTML=sfields[newalt];
  114.             }
  115.             
  116.             if(document.getElementById(newalt + "_" + 1)){
  117.                 document.getElementById(newalt + "_" + 1).innerHTML=sfields[newalt];
  118.             }
  119.             
  120.             if(document.getElementById(newalt + "_" + 2)){
  121.                 document.getElementById(newalt + "_" + 2).innerHTML=sfields[newalt];
  122.             }
  123.             
  124.             if(document.getElementById(newalt + "_" + 3)){
  125.                 document.getElementById(newalt + "_" + 3).innerHTML=sfields[newalt];
  126.             }
  127.             
  128.             if(document.getElementById(newalt + "_" + 4)){
  129.                 document.getElementById(newalt + "_" + 4).innerHTML=sfields[newalt];
  130.             }
  131.             
  132.             if(document.getElementById(newalt + "_" + 5)){
  133.                 document.getElementById(newalt + "_" + 5).innerHTML=sfields[newalt];
  134.             }
  135.                 
  136.         }
  137. }
  138.  
  139.  
  140. var sfields = new Array();
  141.  
  142. sfields["str_noupdate"]        = 600;
  143. sfields["str_yesupdate"]    = 601;
  144. sfields["str_lastscan"]        = 602;
  145. sfields["str_foundprogs"]    = 603;
  146. sfields["str_foundupdates"]    = 604;
  147. sfields["searchbutton"]        = 605;
  148. sfields["listbutton"]        = 606;
  149. sfields["str_availupdates"]    = 607;
  150. sfields["str_availvers"]    = 608;
  151. sfields["str_availnews"]    = 609;
  152. sfields["str_pname"]        = 610;
  153. sfields["str_publisher"]    = 611;
  154. sfields["str_category"]     = 612;
  155. sfields["str_license"]         = 613;
  156. sfields["str_irequirements"]= 614;
  157. sfields["str_iversion"]     = 615;
  158. sfields["str_uversion"]     = 616;
  159. sfields["str_management"]     = 617;
  160. sfields["str_info"]         = 618;
  161. sfields["str_sdesc"]         = 619;
  162. sfields["str_desc"]         = 620;
  163. sfields["str_download"]     = 621;
  164. sfields["str_buynow"]         = 622;
  165. sfields["str_getprice"]     = 623;
  166. sfields["str_buyfrom"]         = 624;
  167. sfields["str_errlink"]         = 625;
  168. sfields["str_sendupdate"]     = 626;
  169. sfields["sendupdate"]         = 626;
  170. sfields["alt_uninstall"]    = 627;
  171. sfields["alt_repair"]         = 629;
  172. sfields["alt_modify"]         = 628;
  173. sfields["str_ranking"]         = 630;
  174. sfields["str_allranking"]     = 631;
  175. sfields["str_newstitle"]    = 632;
  176. sfields["str_newsdata"]     = 633;
  177. sfields["str_comment"]         = 636;
  178. sfields["str_updatetop"]     = 634;
  179. sfields["str_changevalues"] = 635;
  180.  
  181. </xsl:element>
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191. <xsl:element name="SCRIPT">
  192.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  193.     <![CDATA[
  194. var datachanged = 0;
  195. function cfsubmit(){
  196.     
  197.     
  198.     datachanged += chkfield('iname');
  199.     datachanged += chkfield('ipublisher');
  200.     datachanged += chkfield('icategory');
  201.     datachanged += chkfield('irequirements');
  202.     datachanged += chkfield('irequirements');
  203.     datachanged += chkfield('iversion');
  204.     datachanged += chkfield('uversion');
  205.     datachanged += chkfield('ishortdescr');
  206.     datachanged += chkfield('idesciption');
  207.  
  208.  
  209.     if(datachanged > 0){
  210.         document.getElementById('uform').submit();
  211.     } else{
  212.         document.getElementById('str_changevalues').style.display = 'inline';
  213.     }
  214. }
  215.  
  216.  
  217. function chkfield(fieldid){
  218.     if(document.getElementById(fieldid) && document.getElementById('original_'+fieldid)){
  219.  
  220.         if(document.getElementById(fieldid).value != document.getElementById('original_'+fieldid).value){
  221.             return 1;
  222.         }else{
  223.             return 0;
  224.         }
  225.     } else{
  226.         return 0;
  227.     }
  228. }
  229. ]]>
  230.     </xsl:element>
  231. </head>
  232.  
  233. <body onload="if(window.translate)translate(); ">
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  242.     <tr>
  243.         <td style="padding-left: 10px; padding-right:10px; padding-top:10px; padding-bottom:10px;" valign="top">
  244.  
  245. <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  246.     <tr>
  247.         <td class="status_greenl" id="nameleft"><div id="str_sendupdate" style="display: inline;">.</div>: <xsl:copy-of select="$iname"/></td>
  248.         <td class="status_greenr" id="nameright">
  249.             <xsl:element name="img">
  250.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  251.                 <xsl:attribute name="width">19</xsl:attribute>
  252.                 <xsl:attribute name="height">23</xsl:attribute>
  253.             </xsl:element>
  254.         </td>
  255.     </tr>
  256. </table>
  257.  
  258. </td>
  259. </tr>
  260.  
  261. <tr>
  262. <td valign="top" style="padding-left: 10px; padding-right:10px;padding-top:10px; padding-bottom:10px;" >
  263.  
  264. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  265.                         <tr>
  266.                             <td class="tl">
  267.                                 <xsl:element name="img">
  268.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  269.                                     <xsl:attribute name="width">2</xsl:attribute>
  270.                                     <xsl:attribute name="height">2</xsl:attribute>
  271.                                 </xsl:element>
  272.                             </td><td class="tm" width="100%"></td>
  273.                             <td class="tr">
  274.                                 <xsl:element name="img">
  275.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  276.                                     <xsl:attribute name="width">2</xsl:attribute>
  277.                                     <xsl:attribute name="height">2</xsl:attribute>
  278.                                 </xsl:element>
  279.                             </td>
  280.                         </tr>
  281.                         <tr>
  282.                             <td class="ml"></td>
  283.                             <td width="100%" class="wbox">
  284.  
  285.  
  286.  
  287.  
  288. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  289.     <tr>
  290.         <td valign="top">
  291.             <form id="uform" method="POST" action="http://www.updatestar.com/submit/update.php">
  292.             
  293.             <xsl:element name="input">
  294.                 <xsl:attribute name="type">hidden</xsl:attribute>
  295.                 <xsl:attribute name="name">iid</xsl:attribute>
  296.                 <xsl:attribute name="size">67</xsl:attribute>
  297.                 <xsl:attribute name="value"><xsl:copy-of select="$iid"/></xsl:attribute>
  298.             </xsl:element>
  299.  
  300.             <xsl:element name="input">
  301.                 <xsl:attribute name="type">hidden</xsl:attribute>
  302.                 <xsl:attribute name="name">iprodkey</xsl:attribute>
  303.                 <xsl:attribute name="value"><xsl:copy-of select="$iprodkey"/></xsl:attribute>
  304.             </xsl:element>
  305.             
  306.             
  307.             <xsl:element name="input">
  308.                 <xsl:attribute name="type">hidden</xsl:attribute>
  309.                 <xsl:attribute name="name">lang</xsl:attribute>
  310.                 <xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
  311.             </xsl:element>
  312.             
  313.             <xsl:element name="input">
  314.                 <xsl:attribute name="type">hidden</xsl:attribute>
  315.                 <xsl:attribute name="name">branding</xsl:attribute>
  316.                 <xsl:attribute name="value"><xsl:copy-of select="$partnerid"/></xsl:attribute>
  317.             </xsl:element>
  318.             
  319.             
  320.             <xsl:element name="input">
  321.                 <xsl:attribute name="type">hidden</xsl:attribute>
  322.                 <xsl:attribute name="name">original_lang</xsl:attribute>
  323.                 <xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
  324.             </xsl:element>
  325.             
  326.             <xsl:element name="input">
  327.                 <xsl:attribute name="type">hidden</xsl:attribute>
  328.                 <xsl:attribute name="name">sendform</xsl:attribute>
  329.                 <xsl:attribute name="value">true</xsl:attribute>
  330.             </xsl:element>
  331.             
  332.             
  333.                 <xsl:apply-templates />
  334.                 
  335.                 <div id="str_changevalues" style="color:#ff0000; fint-weight:bold;display:none; " >.</div>
  336.                 
  337.                 <table border="0" cellpadding="0" cellspacing="0">
  338.                             <tr>
  339.                                 <td>
  340.                                     <xsl:element name="img">
  341.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_left.gif</xsl:attribute>
  342.                                     </xsl:element>
  343.                                 </td>
  344.                                 <td class="startm">
  345.                                 <a href="javascript: cfsubmit();" class="buttonstart" id="sendupdate">.</a></td>
  346.                                 <td>
  347.                                     <xsl:element name="img">
  348.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_right.gif</xsl:attribute>
  349.                                     </xsl:element>
  350.                                 </td>
  351.                             </tr>
  352.                         </table>
  353.                 
  354.                 
  355.                 </form>        
  356.                 
  357.         <xsl:if test="update">
  358.             <script type="text/javascript">                
  359.                 document.getElementById('nameleft').className='status_redl';
  360.                 document.getElementById('nameright').className='status_redr';
  361.             </script>
  362.         </xsl:if>
  363.             
  364.     </td></tr>
  365. </table>
  366.  
  367.  
  368.                         </td>
  369.                             <td class="mr"></td>
  370.                         </tr>
  371.                         <tr>
  372.                             <td class="ml"></td>
  373.                             <td valign="top" class="wbox">
  374.                                 <xsl:element name="img">
  375.                                     <xsl:attribute name="border">0</xsl:attribute>
  376.                                     <xsl:attribute name="align">right</xsl:attribute>
  377.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>star.gif</xsl:attribute>
  378.                                 </xsl:element>
  379.                             </td>
  380.                             <td class="mr"></td>
  381.                         </tr>
  382.                         <tr>
  383.                             <td class="bl">
  384.                                 <xsl:element name="img">
  385.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  386.                                     <xsl:attribute name="width">2</xsl:attribute>
  387.                                     <xsl:attribute name="height">2</xsl:attribute>
  388.                                 </xsl:element>
  389.                             </td>
  390.                             <td class="bm"></td>
  391.                             <td class="br">
  392.                                 <xsl:element name="img">
  393.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  394.                                     <xsl:attribute name="width">2</xsl:attribute>
  395.                                     <xsl:attribute name="height">2</xsl:attribute>
  396.                                 </xsl:element>
  397.                             </td>
  398.                         </tr>
  399.                     
  400.                     </table>
  401.         </td>
  402.     </tr>
  403. </table>
  404.  
  405. </body>
  406. </html>
  407.  
  408. </xsl:template>
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420. <xsl:template match="installed">
  421.             
  422.     <table border="0" cellpadding="0" cellspacing="5" width="100%">
  423.  
  424.         <TR>
  425.             <TD width="150">
  426.                 <xsl:element name="img">
  427.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/cshim.gif</xsl:attribute>
  428.                     <xsl:attribute name="width">150</xsl:attribute>
  429.                     <xsl:attribute name="height">1</xsl:attribute>
  430.                 </xsl:element>
  431.             </TD>
  432.             <TD width="100%"></TD>
  433.         </TR>
  434.         
  435.         
  436.         <TR><TD colspan="2" class="normal"><div id="str_updatetop" style="margin-bottom:20px;">.</div></TD></TR>
  437.         
  438.         <TR><TD class="desc"><div id="str_pname">.</div></TD>
  439.         <TD class="normal">
  440.  
  441.             <xsl:element name="input">
  442.                 <xsl:attribute name="type">text</xsl:attribute>
  443.                 <xsl:attribute name="name">iname</xsl:attribute>
  444.                 <xsl:attribute name="id">iname</xsl:attribute>
  445.                 <xsl:attribute name="size">67</xsl:attribute>
  446.                 <xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
  447.             </xsl:element>
  448.             <xsl:element name="input">
  449.                 <xsl:attribute name="type">hidden</xsl:attribute>
  450.                 <xsl:attribute name="name">original_iname</xsl:attribute>
  451.                 <xsl:attribute name="id">original_iname</xsl:attribute>
  452.                 <xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
  453.             </xsl:element>
  454.         </TD></TR>
  455.         
  456.         
  457.         
  458.         <TR><TD class="desc"><div id="str_publisher">.</div></TD>
  459.         <TD class="normal">
  460.             <xsl:element name="input">
  461.                 <xsl:attribute name="type">text</xsl:attribute>
  462.                 <xsl:attribute name="name">ipublisher</xsl:attribute>
  463.                 <xsl:attribute name="id">ipublisher</xsl:attribute>
  464.                 <xsl:attribute name="size">67</xsl:attribute>
  465.                 <xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
  466.             </xsl:element>
  467.             <xsl:element name="input">
  468.                 <xsl:attribute name="type">hidden</xsl:attribute>
  469.                 <xsl:attribute name="name">original_ipublisher</xsl:attribute>
  470.                 <xsl:attribute name="id">original_ipublisher</xsl:attribute>
  471.                 <xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
  472.             </xsl:element>
  473.         </TD></TR>
  474.         
  475.         
  476.         
  477.         <TR><TD class="desc"><div id="str_category">.</div></TD>
  478.         <TD class="normal">
  479.             <xsl:element name="input">
  480.                 <xsl:attribute name="type">text</xsl:attribute>
  481.                 <xsl:attribute name="name">icategory</xsl:attribute>
  482.                 <xsl:attribute name="id">icategory</xsl:attribute>
  483.                 <xsl:attribute name="size">67</xsl:attribute>
  484.                 <xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
  485.             </xsl:element>
  486.             <xsl:element name="input">
  487.                 <xsl:attribute name="type">hidden</xsl:attribute>
  488.                 <xsl:attribute name="name">original_icategory</xsl:attribute>
  489.                 <xsl:attribute name="id">original_icategory</xsl:attribute>
  490.                 <xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
  491.             </xsl:element>
  492.         </TD></TR>
  493.         
  494.         
  495.         <TR><TD class="desc"><div id="str_irequirements">.</div></TD>
  496.         <TD class="normal">
  497.             <xsl:element name="input">
  498.                 <xsl:attribute name="type">text</xsl:attribute>
  499.                 <xsl:attribute name="name">irequirements</xsl:attribute>
  500.                 <xsl:attribute name="id">irequirements</xsl:attribute>
  501.                 <xsl:attribute name="size">67</xsl:attribute>
  502.                 <xsl:attribute name="value"><xsl:copy-of select="$irequirements"/></xsl:attribute>
  503.             </xsl:element>
  504.             <xsl:element name="input">
  505.                 <xsl:attribute name="type">hidden</xsl:attribute>
  506.                 <xsl:attribute name="name">original_irequirements</xsl:attribute>
  507.                 <xsl:attribute name="id">original_irequirements</xsl:attribute>
  508.                 <xsl:attribute name="value"><xsl:copy-of select="$irequirements"/></xsl:attribute>
  509.             </xsl:element>
  510.         </TD></TR>
  511.         
  512.         
  513.         
  514.         <TR><TD class="desc"><div id="str_license">.</div></TD>
  515.         <TD class="normal">
  516.             <xsl:element name="input">
  517.                 <xsl:attribute name="type">text</xsl:attribute>
  518.                 <xsl:attribute name="name">ilincense</xsl:attribute>
  519.                 <xsl:attribute name="id">ilincense</xsl:attribute>
  520.                 <xsl:attribute name="size">67</xsl:attribute>
  521.                 <xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
  522.             </xsl:element>
  523.             <xsl:element name="input">
  524.                 <xsl:attribute name="type">hidden</xsl:attribute>
  525.                 <xsl:attribute name="name">original_ilincense</xsl:attribute>
  526.                 <xsl:attribute name="id">original_ilincense</xsl:attribute>
  527.                 <xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
  528.             </xsl:element>
  529.         </TD></TR>
  530.         
  531.         
  532.         <xsl:if test="not($iversion='')">
  533.             <TR>
  534.                 <TD class="desc"><div id="str_iversion">.</div></TD>
  535.                 <TD class="normal">
  536.                     <xsl:element name="input">
  537.                         <xsl:attribute name="type">text</xsl:attribute>
  538.                         <xsl:attribute name="name">iversion</xsl:attribute>
  539.                         <xsl:attribute name="id">iversion</xsl:attribute>
  540.                         <xsl:attribute name="size">67</xsl:attribute>
  541.                         <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  542.                     </xsl:element>
  543.                     <xsl:element name="input">
  544.                         <xsl:attribute name="type">hidden</xsl:attribute>
  545.                         <xsl:attribute name="name">original_iversion</xsl:attribute>
  546.                         <xsl:attribute name="id">original_iversion</xsl:attribute>
  547.                         <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  548.                     </xsl:element>
  549.                 </TD>
  550.             </TR>
  551.         </xsl:if>
  552.         
  553.         <xsl:if test="not($uversion='')">
  554.             <TR>
  555.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  556.                 <TD class="normal">
  557.                     <xsl:element name="input">
  558.                         <xsl:attribute name="type">text</xsl:attribute>
  559.                         <xsl:attribute name="name">uversion</xsl:attribute>
  560.                         <xsl:attribute name="id">uversion</xsl:attribute>
  561.                         <xsl:attribute name="size">67</xsl:attribute>
  562.                         <xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
  563.                     </xsl:element>
  564.                     <xsl:element name="input">
  565.                         <xsl:attribute name="type">hidden</xsl:attribute>
  566.                         <xsl:attribute name="name">original_uversion</xsl:attribute>
  567.                         <xsl:attribute name="id">original_uversion</xsl:attribute>
  568.                         <xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
  569.                     </xsl:element>
  570.                 </TD>
  571.             </TR>
  572.         </xsl:if>
  573.         
  574.         <xsl:if test="$uversion=''">
  575.             <TR>
  576.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  577.                 <TD class="normal">
  578.                     <xsl:element name="input">
  579.                         <xsl:attribute name="type">text</xsl:attribute>
  580.                         <xsl:attribute name="name">uversion</xsl:attribute>
  581.                         <xsl:attribute name="size">67</xsl:attribute>
  582.                         <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  583.                     </xsl:element>
  584.                     <xsl:element name="input">
  585.                         <xsl:attribute name="type">hidden</xsl:attribute>
  586.                         <xsl:attribute name="name">original_uversion</xsl:attribute>
  587.                         <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  588.                     </xsl:element>
  589.                 </TD>
  590.             </TR>
  591.         </xsl:if>
  592.         
  593.         
  594.         
  595.         
  596.         <TR><TD class="desc"><div id="str_sdesc">.</div></TD>
  597.         <TD class="normal">
  598.             <xsl:element name="input">
  599.                 <xsl:attribute name="type">text</xsl:attribute>
  600.                 <xsl:attribute name="name">ishortdescr</xsl:attribute>
  601.                 <xsl:attribute name="id">ishortdescr</xsl:attribute>
  602.                 <xsl:attribute name="size">67</xsl:attribute>
  603.                 <xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
  604.             </xsl:element>
  605.             <xsl:element name="input">
  606.                 <xsl:attribute name="type">hidden</xsl:attribute>
  607.                 <xsl:attribute name="name">original_ishortdescr</xsl:attribute>
  608.                 <xsl:attribute name="id">original_ishortdescr</xsl:attribute>
  609.                 <xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
  610.             </xsl:element>
  611.         </TD>
  612.         </TR>
  613.         
  614.  
  615.         
  616.         
  617.         
  618.         <TR><TD class="desc"><div id="str_desc">.</div></TD>
  619.         <TD class="normal">
  620.             <xsl:element name="textarea">
  621.                 <xsl:attribute name="name">idesciption</xsl:attribute>
  622.                 <xsl:attribute name="id">idesciption</xsl:attribute>
  623.                 <xsl:attribute name="rows">10</xsl:attribute>
  624.                 <xsl:attribute name="cols">67</xsl:attribute>
  625.                 <xsl:copy-of select="$idesciption"/>
  626.             </xsl:element>
  627.             <xsl:element name="input">
  628.                 <xsl:attribute name="type">hidden</xsl:attribute>
  629.                 <xsl:attribute name="name">original_idesciption</xsl:attribute>
  630.                 <xsl:attribute name="id">original_idesciption</xsl:attribute>
  631.                 <xsl:attribute name="value"><xsl:copy-of select="$idesciption"/></xsl:attribute>
  632.             </xsl:element>
  633.         </TD>
  634.         </TR>
  635.         
  636.         
  637.         
  638.         <xsl:for-each select="InfoButtons">
  639.             <xsl:if test="InfoButton">
  640.                 <TR><TD class="desc"><div id="str_info">.</div></TD><TD><TABLE border="0" cellpadding="0" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
  641.             </xsl:if>
  642.             
  643.             
  644.             
  645.             
  646.             <xsl:if test="not(InfoButton)">
  647.                 <TR><TD class="desc"><div id="str_info">.</div></TD><TD>
  648.                 <TABLE border="0" cellpadding="0" cellspacing="0"><TR>
  649.                 
  650.                     <TR>
  651.                         <TD class="normal">
  652.                             <xsl:element name="input">
  653.                                 <xsl:attribute name="type">text</xsl:attribute>
  654.                                 <xsl:attribute name="name">InfoButton_URL[]</xsl:attribute>
  655.                                 <xsl:attribute name="size">67</xsl:attribute>
  656.                                 <xsl:attribute name="value"></xsl:attribute>
  657.                                 <xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
  658.                             </xsl:element>
  659.                             <input type="hidden" name="original_InfoButton_URL[]" value=" "/>
  660.                         </TD>
  661.                     </TR>
  662.                 
  663.                 
  664.                 </TR></TABLE>
  665.                 </TD></TR>
  666.             </xsl:if>
  667.             
  668.             
  669.         </xsl:for-each>
  670.  
  671.  
  672.  
  673.         
  674.         
  675.         <xsl:for-each select="DownloadButtons">
  676.             <xsl:if test="DownloadButton">
  677.                 <TR><td class="desc"><div id="str_download">.</div></td><TD><TABLE border="0" cellpadding="0" cellspacing="0"><xsl:apply-templates/></TABLE></TD></TR>
  678.             </xsl:if>
  679.             
  680.             <xsl:if test="not(DownloadButton)">
  681.                 <TR><td class="desc"><div id="str_download">.</div></td>
  682.                 <TD>
  683.                     <TABLE border="0" cellpadding="0" cellspacing="0">
  684.                         <TR>
  685.                             <TD class="normal">
  686.                                 <xsl:element name="input">
  687.                                     <xsl:attribute name="type">text</xsl:attribute>
  688.                                     <xsl:attribute name="name">DownloadButton_URL[]</xsl:attribute>
  689.                                     <xsl:attribute name="size">67</xsl:attribute>
  690.                                     <xsl:attribute name="value"></xsl:attribute>
  691.                                     <xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
  692.                                 </xsl:element>
  693.                                 <input type="hidden" name="original_DownloadButton_URL[]" value=" "/>
  694.                             </TD>
  695.                         </TR>
  696.                 </TABLE>
  697.                 </TD>
  698.                 </TR>
  699.             </xsl:if>
  700.             
  701.             
  702.         </xsl:for-each>
  703.         
  704.         
  705.         
  706.         
  707.         
  708.         <xsl:for-each select="BuyButtons">
  709.             <xsl:if test="BuyButton">
  710.                 <TR><td class="desc"><div id="str_buynow">.</div></td><TD><TABLE border="0" cellpadding="0" cellspacing="0"><xsl:apply-templates/></TABLE></TD></TR>
  711.             </xsl:if>
  712.             
  713.             <xsl:if test="not(BuyButton)">
  714.                 <TR><td class="desc"><div id="str_buynow">.</div></td><TD>
  715.                 <TABLE border="0" cellpadding="0" cellspacing="0">
  716.                 
  717.  
  718.                 <TR>
  719.                     <TD class="normal">
  720.                 
  721.                         <xsl:element name="input">
  722.                             <xsl:attribute name="type">text</xsl:attribute>
  723.                             <xsl:attribute name="name">BuyButton_URL[]</xsl:attribute>
  724.                             <xsl:attribute name="size">67</xsl:attribute>
  725.                             <xsl:attribute name="value"></xsl:attribute>
  726.                             <xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
  727.                         </xsl:element>
  728.                         <input type="hidden" name="original_BuyButton_URL[]" value=" "/>
  729.                     </TD>
  730.                 </TR>
  731.                 
  732.                 
  733.                 </TABLE>
  734.                 </TD></TR>
  735.             </xsl:if>
  736.             
  737.         </xsl:for-each>
  738.         
  739.  
  740.         
  741.         
  742.  
  743.         
  744.         
  745.         <TR><TD class="desc"><div id="str_comment">.</div></TD>
  746.         <TD class="normal">
  747.             <xsl:element name="textarea">
  748.                 <xsl:attribute name="name">comment</xsl:attribute>
  749.                 <xsl:attribute name="rows">5</xsl:attribute>
  750.                 <xsl:attribute name="cols">67</xsl:attribute>
  751.                 <xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
  752.             </xsl:element>
  753.         </TD>
  754.         </TR>
  755.         
  756.     
  757.         
  758.         
  759.         
  760.         
  761.         
  762.     </table>
  763.  
  764. </xsl:template>
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773. <xsl:template match="updatesend/software/installed/name"></xsl:template>
  774.  
  775. <xsl:template match="updatesend/software/installed/version"></xsl:template>
  776. <xsl:template match="updatesend/software/installed/publisher"></xsl:template>
  777. <xsl:template match="updatesend/software/installed/contact"></xsl:template>
  778. <xsl:template match="updatesend/software/installed/helplink"></xsl:template>
  779. <xsl:template match="updatesend/software/installed/telephone"></xsl:template>
  780. <xsl:template match="updatesend/software/installed/readme/display"></xsl:template>
  781. <xsl:template match="updatesend/software/installed/readme/cmd"></xsl:template>
  782. <xsl:template match="updatesend/software/installed/updates"></xsl:template>
  783. <xsl:template match="updatesend/software/installed/comment"></xsl:template>
  784. <xsl:template match="updatesend/software/installed/date"></xsl:template>
  785. <xsl:template match="updatesend/software/installed/size"></xsl:template>
  786.  
  787. <xsl:template match="updatesend/software/installed/repair"></xsl:template>
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800. <xsl:template match="InfoButton">    
  801.     <TR>
  802.         <TD class="normal">
  803.             <xsl:element name="input">
  804.                 <xsl:attribute name="type">text</xsl:attribute>
  805.                 <xsl:attribute name="name">InfoButton_URL[]</xsl:attribute>
  806.                 <xsl:attribute name="size">67</xsl:attribute>
  807.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  808.                 <xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
  809.             </xsl:element>
  810.             <xsl:element name="input">
  811.                 <xsl:attribute name="type">hidden</xsl:attribute>
  812.                 <xsl:attribute name="name">original_InfoButton_URL[]</xsl:attribute>
  813.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  814.             </xsl:element>
  815.         </TD>
  816.     </TR>
  817. </xsl:template>
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824. <xsl:template match="DownloadButton">
  825.     <TR>
  826.         <TD class="normal">
  827.             <xsl:element name="input">
  828.                 <xsl:attribute name="type">text</xsl:attribute>
  829.                 <xsl:attribute name="name">DownloadButton_URL[]</xsl:attribute>
  830.                 <xsl:attribute name="size">67</xsl:attribute>
  831.                 <xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
  832.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  833.             </xsl:element>
  834.             <xsl:element name="input">
  835.                 <xsl:attribute name="type">hidden</xsl:attribute>
  836.                 <xsl:attribute name="name">original_DownloadButton_URL[]</xsl:attribute>
  837.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  838.             </xsl:element>
  839.         </TD>
  840.     </TR>
  841. </xsl:template>
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850. <xsl:template match="BuyButton">
  851.     <TR>
  852.         <TD class="normal">
  853.             
  854.             <xsl:element name="input">
  855.                 <xsl:attribute name="type">text</xsl:attribute>
  856.                 <xsl:attribute name="name">BuyButton_URL[]</xsl:attribute>
  857.                 <xsl:attribute name="size">67</xsl:attribute>
  858.                 <xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
  859.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  860.             </xsl:element>
  861.             <xsl:element name="input">
  862.                 <xsl:attribute name="type">hidden</xsl:attribute>
  863.                 <xsl:attribute name="name">original_BuyButton_URL[]</xsl:attribute>
  864.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  865.             </xsl:element>
  866.             
  867.             
  868.             
  869.             <xsl:if test="DisplayName">
  870.                 <xsl:element name="a">
  871.                     <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  872.                     <xsl:attribute name="style">text-decoration:none;</xsl:attribute>
  873.                 <font color="#000000">
  874.                     <xsl:element name="div">
  875.                         <xsl:attribute name="style">display: inline;</xsl:attribute>
  876.                         <xsl:attribute name="id">str_buyfrom_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
  877.                         .
  878.                     </xsl:element>
  879.                 </font>
  880.                 <xsl:value-of select="DisplayName"/>
  881.             </xsl:element>
  882.         </xsl:if>
  883.         </TD>
  884.         <TD> </TD>
  885.     </TR>
  886. </xsl:template>
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897. </xsl:stylesheet>
  898.